Handle the Cancel button properly. (#304234, Sven Neumann)
authorMatthias Clasen <mclasen@redhat.com>
Wed, 18 May 2005 20:34:30 +0000 (20:34 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 18 May 2005 20:34:30 +0000 (20:34 +0000)
2005-05-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
Cancel button properly.  (#304234, Sven Neumann)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkfilechooserbutton.c

index 7ae8e6d8b301f4608c2f929d5c6894379ad25bde..aca2ba23a400cdbf71eeebc7d0ed825a8ad6a500 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
+       Cancel button properly.  (#304234, Sven Neumann)
+
 2005-05-18  Anders Carlsson  <andersca@imendio.com>
 
        * gtk/gtktextview.c: (gtk_text_view_flush_scroll),
@@ -6,9 +11,9 @@
        If the horizontal adjustment changes because of a change in the
        layout width, then do a complete redraw. This is because there
        might be right-aligned or centered text that needs to be redrawn.
-       
-2005-05-18  Matthias Clasen  <mclasen@redhat.com>
 
+2005-05-18  Matthias Clasen  <mclasen@redhat.com>
+       
        * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
        the event masks of descendent windows.  (#169821, Tommi Komulainen)
 
index 7ae8e6d8b301f4608c2f929d5c6894379ad25bde..aca2ba23a400cdbf71eeebc7d0ed825a8ad6a500 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
+       Cancel button properly.  (#304234, Sven Neumann)
+
 2005-05-18  Anders Carlsson  <andersca@imendio.com>
 
        * gtk/gtktextview.c: (gtk_text_view_flush_scroll),
@@ -6,9 +11,9 @@
        If the horizontal adjustment changes because of a change in the
        layout width, then do a complete redraw. This is because there
        might be right-aligned or centered text that needs to be redrawn.
-       
-2005-05-18  Matthias Clasen  <mclasen@redhat.com>
 
+2005-05-18  Matthias Clasen  <mclasen@redhat.com>
+       
        * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
        the event masks of descendent windows.  (#169821, Tommi Komulainen)
 
index 7ae8e6d8b301f4608c2f929d5c6894379ad25bde..aca2ba23a400cdbf71eeebc7d0ed825a8ad6a500 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
+       Cancel button properly.  (#304234, Sven Neumann)
+
 2005-05-18  Anders Carlsson  <andersca@imendio.com>
 
        * gtk/gtktextview.c: (gtk_text_view_flush_scroll),
@@ -6,9 +11,9 @@
        If the horizontal adjustment changes because of a change in the
        layout width, then do a complete redraw. This is because there
        might be right-aligned or centered text that needs to be redrawn.
-       
-2005-05-18  Matthias Clasen  <mclasen@redhat.com>
 
+2005-05-18  Matthias Clasen  <mclasen@redhat.com>
+       
        * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
        the event masks of descendent windows.  (#169821, Tommi Komulainen)
 
index f0fe1630d0003a396cba3c12d018e39958c56ff7..3c38073db0fa098afe29df37f386a7a4414b2fba 100644 (file)
@@ -2165,6 +2165,8 @@ dialog_response_cb (GtkDialog *dialog,
          break;
        }
     }
+  else
+    gtk_file_chooser_unselect_all (GTK_FILE_CHOOSER (dialog));
 
   if (priv->old_path)
     {